#-- coding=utf-8 ---*---
# __author__ = 'wenke1'

int1=4
int3=3

debuglevel=1
def testScope():
    int1=11
    int1+=1;global int3;int3+=1
    print "local int1 is:",int1
#int1=10
testScope()
print "global int1 is:",int1
print "global int3 is:",int3

int6=2
def testScope1():
    global int6
    int6+=1
    print "local int6 is:",int6
testScope1()
print "global int6 is:",int6

def bubblesort(*args):
    pass
    return list

bubblesort(1,,344,3)

#排序算法（冒泡、快速、堆排序


# def jisuanqi(*args):
#     testglobal=10
#     testglobal+=1
#     print testglobal
#     def add():
#         results=sum(args)
#         print results
#     return add
# testglobal=1
#
# f=jisuanqi(1,2)
# f()
# print "testgoabal is:",testglobal